/*aside样式*/

.aside-list {
	position: fixed;
	z-index: 3;
	left: 0;
	bottom: 0;
	width: 50px;
	height: 100%;
	overflow-y:auto; 
	-webkit-transition: all .2s;
	transition: all .2s;
}

.aside-list label {
	display: block;
	padding: 10px;
	margin-bottom: 0;
	text-align: center;
	font-size: 2.4rem;
	cursor: pointer;
}

.aside label[for="hideAside"] {
	position: relative;
	left: -50px;
	-webkit-transition: all .4s;
	transition: all .4s;
}

.aside label:hover {
	color: #fff;
}

.content-item {
	position: fixed;
	z-index: 2;
	top: 0;
	left: 50px;
	height: 100%;
	overflow: hidden;
	-webkit-transition: all .2s;
	transition: all .2s;
}
.content-item.skin,
.content-item.user{
	left: -240px;
	width: 240px;
}
.content-item.set,
.content-item.share{
	left: -100px;
	width:100px;
}
.item-header{
	height:50px;
	padding: 10px;
	line-height: 30px;
	font-size: 1.4rem;
}
.item-inner{
	height: calc(100% - 50px);
	padding: 10px;
	overflow-y:auto;
}
.color-block,.share-block {
	padding: 10px;
}
.block-inner{
	cursor: pointer;
	-webkit-transition: all .2s;		
	transition: all .2s;
}
.content-item.set .block-inner{
	width: 100%;
	padding: 50%;
	border-radius: 50%;
}
.content-item.share .block-inner{
	display:block;
}
.block-inner:hover{
	-webkit-transform: scale(1.2,1.2) ;
	-ms-transform: scale(1.2,1.2) ;
	transform: scale(1.2,1.2) ;
}
.img-user,.img-share{
	display: block;
	height: auto;
	margin:0 auto; 
}
.img-user{
	width: 50%;
}
.img-ewm{
	width: 80%;
	margin-bottom: 10px;
	-webkit-transition: all .3s;
	transition: all .3s;
}
.img-ewm:hover{
	-webkit-transform: scale(1.2,1.2);
	-ms-transform: scale(1.2,1.2);
	transform: scale(1.2,1.2);
	box-shadow: 0 0 10px rgba(0,0,0,.2);
}
.img-share {
	width: 100%;
}
.content-item .progress-bar{
	width: 0;
}
.content-item .progress:nth-of-type(1) .progress-bar{
	transition: width .6s .2s;
}
.content-item .progress:nth-of-type(2) .progress-bar{
	transition: width .6s .3s;
}
.content-item .progress:nth-of-type(3) .progress-bar{
	transition: width .6s .4s;
}
.content-item .progress:nth-of-type(4) .progress-bar{
	transition: width .6s .5s;
}
.content-item .progress:nth-of-type(5) .progress-bar{
	transition: width .6s .6s;
}
.content-item .progress:nth-of-type(6) .progress-bar{
	transition: width .6s .7s;
}
.content-item .progress:nth-of-type(7) .progress-bar{
	transition: width .6s .8s;
}
.content-item .progress:nth-of-type(8) .progress-bar{
	transition: width .6s .9s;
}
/*轮播图样式*/
.content-item.project{
	overflow: hidden;
	position: fixed;
	z-index: 10;
	top:50%;
	left:50%;
	width:0;
	height:80%;
	text-align:center;
	transform: translate(-50%,-50%);
	transition: all .6s;s	
}
.content-item.project .carousel{
	width:100%;
	height:calc(100% - 40px);
}
.content-item.project .carousel-caption{
	padding: 0;
	bottom: 100px;
	font-size: 24px;
	font-weight: bold;
	color:yellowgreen;
}
input[name="switchAside"] {
	display: none;
}

input[name="switchAside"]:not(#hideAside):checked~.aside label[for="hideAside"] {
	left: 0;
}

input.switchAsideSkin:checked~.aside .content-item.skin,
input.switchAsideUser:checked~.aside .content-item.user,
input.switchAsideShare:checked~.aside .content-item.share,
input.switchAsideSet:checked~.aside .content-item.set {
	left: 50px;
	box-shadow: 4px 0 30px rgba(0,0,0,.4);
}
input.switchAsideCarousel:checked~.aside .content-item.project{
	display: block;
	width:80%;
}
input.switchAsideSkin:checked~.aside label[for="switchAsideSkin"],
input.switchAsideUser:checked~.aside label[for="switchAsideUser"],
input.switchAsideCarousel:checked~.aside label[for="switchAsideCarousel"],
input.switchAsideShare:checked~.aside label[for="switchAsideShare"],
input.switchAsideSet:checked~.aside label[for="switchAsideSet"] {
	color: #fff;
}
input.switchAsideSkin:checked~.aside .content-item.skin .progress-bar{
	width:90%;
}
input.switchAsideSkin:checked~.main,
input.switchAsideUser:checked~.main {
	padding-left: 290px;
}

input.switchAsideShare:checked~.main,
input.switchAsideSet:checked~.main {
	padding-left: 150px;
}

@media(max-width:991px){
	.aside-list{
		display: flex;
	    flex-direction: row;
	    align-items:stretch;
		width: 100%;
		height: 54px;
	}
	.aside-list label{
		flex:1;
		display: flex;
	    align-items:center;
    	justify-content: center;
	}
	.aside label[for="hideAside"] {
		position: fixed;
		z-index:10;
		left: -60px;
		bottom: 60px;
		font-size: 4.4rem;
	}
	.content-item {
		left: 0;
		height: calc(100% - 54px);
	}
	input.switchAsideSkin:checked~.aside label[for="hideAside"],
	input.switchAsideUser:checked~.aside label[for="hideAside"] {	
		left: 240px !important;
	}
	input.switchAsideShare:checked~.aside label[for="hideAside"],
	input.switchAsideSet:checked~.aside label[for="hideAside"] {	
		left: 100px !important;
	}
	input.switchAsideSkin:checked~.aside .content-item.skin,
	input.switchAsideUser:checked~.aside .content-item.user,
	input.switchAsideShare:checked~.aside .content-item.share,
	input.switchAsideSet:checked~.aside .content-item.set {
		left: 0;
	}
	input.switchAsideSkin:checked~.main,
	input.switchAsideUser:checked~.main,
	input.switchAsideShare:checked~.main, 
	input.switchAsideSet:checked~.main{
		padding-left: 0;
	}
}